package com.molin.innerClass.test1;

public class Test1 {
    public static void main(String[] args) {
        Outer outer=new Outer();
        outer.method();

    }
}
class Outer{
    private int a=10;
    private class Inner{
         void show(){
            System.out.println("inner show..");
            System.out.println(a);
        }
    }
    public void method(){
        Inner inner=new Inner();
        inner.show();
    }
}
